package com.jr.service.impl;


import com.jr.entity.Province;
import com.jr.mapper.ProvinceDao;
import com.jr.service.ProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @Author: 季成索
 * @Date:傻逼Git，搞得老子巨难受，beyond，凸(艹皿艹 )！
 * @email: 2301861732@qq.com
 **/
@Service
public class ProvinceServiceImpl implements ProvinceService {
    @Autowired
    private ProvinceDao provinceDao;

    @Override
    public List<Province> getProvinces() {
        List<Province> provinces = provinceDao.selectAllProvince();
        return provinces;
    }
}